/*first-of-type 设置第一个类型*/
p:first-of-type{
    color: red;
}
p:last-of-type{
    color: blue;
}
p:nth-of-type(2){
    color: aqua;
}
p:nth-last-of-type(2){
    color: blueviolet;
}


p:first-child{
    font-size: 18px;
}
p:last-child{
    font-size: 24px;
}
p:nth-child(2){
    font-size: 20px;
}
p:nth-last-child(2){
    font-size: 28px;
}

p::selection{
    background: chartreuse;
}
.paragraphs :not(p){
    background: brown;
}
:root{
    background: #ebebeb;
}
input[type="text"]{
    width: 100px;
}

input[type="text"]:enabled{
    border: 1px solid forestgreen;
}
input[type="text"]:disabled{
    border: 1px solid red;
}
input[type="radio"]{
    width: 25px;
    height: 25px;
}
input[type='radio']:checked{
    width: 35px;
    height: 35px;
}


#news1:target{
    color: green;
}
#news2:target{
    color: orangered;
}
